model {
	name "m_scene4_landscape"
	modelfile "objects/metaballs_tri_3.lwo"
	materials {
		glow {
			color glow
			shader "shr_yfade"
			blend 1
		}
		stone {
			color stone
			shader "shr_yfade"
			blend 1
		}
		road {
			color road
			shader "shr_yfade"
			blend 1
		}
	}
}


model {
    name "cna_symbol-002a"
    modelfile "objects/cna_symbol-002a.lwo"
    materials {
        Default {
            color metaballs_circle1
      	}
    }
}

model {
      name "cna_symbol-002b"
      modelfile "objects/cna_symbol-002b.lwo"

      materials {
	            Default {
				        color metaballs_circle2
                }
	  }
}

model {
      name "cna_symbol-002c"
      modelfile "objects/cna_symbol-002c.lwo"
			materials {
				Default {
    				color metaballs_circle3
				}
			}
}

model {
    name "cna_symbol-002a-screen"
    modelfile "objects/cna_symbol-002a-screen.lwo"
    materials {
        Default {
            color metaballs_circle4
            blend 1
            zwrite 0
      	}
    }
}

// --------------------------------------------------------------------------------

group {
	name "metaballs"

	scene {
		name "s_scene4_1"
		file "scenes/scene4_1_v004.lws"
	}

	camera {
		name "metaballs1_camera"
		prio 10
		transform "s_scene4_1.camera"
		nearplane 0.1
		fov 34
	}

	metaballs {
		prio 90
		transform0 "s_scene4_1.boll1"
		transform1 "s_scene4_1.boll2"
		transform2 "s_scene4_1.boll3"

		camera "metaballs1_camera"
	}

	bones {
	    mesh "m_robot_md5mesh"
	    shadermesh "m_robot_mesh"
		layer0 "a_run" "globaltimer.localtime" 1
		scale 0.1
		rotation (0 -0.25 0)
		transform "s_scene4_1.gubbe"
	}

	object {
		model "m_scene4_landscape"
		transform "s_scene4_1.scene4"
	}

	linemesh {
		prio 110
		meshfile "objects/scene4_wire.lwo"
		transform "s_scene4_1.scene4"
		numtravelers 50
		color lineglow
	}
}

group {
	name "metaballs2"

	scene {
		name "s_scene4_2"
		file "scenes/scene4_2_new.lws"
	}

	camera {
		prio 10
		name "metaballs2_camera"
		transform "s_scene4_2.camera"
		nearplane 0.1
		fov 40
	}

	metaballs {
		prio 90
		transform0 "s_scene4_2.boll1"
		transform1 "s_scene4_2.boll2"
		transform2 "s_scene4_2.boll3"

		camera "metaballs2_camera"
	}


	bones {
	    mesh "m_robot_md5mesh"
	    shadermesh "m_robot_mesh"
		layer0 "a_run" "globaltimer.localtime" 1
		scale 0.1
		rotation (0.5 -0.25 0)
		transform "s_scene4_2.Null"
	}

	object {
		model "m_scene4_landscape"
		transform "s_scene4_2.scene4"
	}

	object {
		model "cna_symbol-002a"
		transform "s_scene4_2.cna_symbol-002a"
	}

	linemesh {
		meshfile "objects/cna_symbol-002a_wire.lwo"
		color metaballs_circlewire0
		transform "s_scene4_2.cna_symbol-002a_wire"
	}


	object {
		model "cna_symbol-002b"
	    transform "s_scene4_2.cna_symbol-002b"
	}

	linemesh {
		meshfile "objects/cna_symbol-002b_wire.lwo"
	    transform "s_scene4_2.cna_symbol-002b_wire"
		color metaballs_circlewire1
	}

	
	object {
			model "cna_symbol-002c"
	      transform "s_scene4_2.cna_symbol-002c"
	}
	
	linemesh {
		meshfile "objects/cna_symbol-002c_wire.lwo"
	    transform "s_scene4_2.cna_symbol-002c_wire"
		color metaballs_circlewire2
	}
	
	
	
	object {
		model "cna_symbol-002a-screen"
	      transform "s_scene4_2.cna_symbol-002a-screen"
	}

	linemesh {
	    meshfile "objects/cna_symbol-002a-screen_wire.lwo"
	    color metaballs_circlewire3
	    transform "s_scene4_2.cna_symbol-002a-screen_wire"
	}
}

group {
	name "jump"

	scene {
		name "s_scene5_1"
		file "scenes/scene5_1_v007.lws"
		timeoffset 0.9
	}

	camera {
		prio 10
		transform "s_scene5_1.camera"
		nearplane 0.1
		size 0.1
		fov 35
	}

	object {
		model "m_scene4_landscape"
		transform "s_scene5_1.scene4"
	}

	bones {
	    mesh "m_robot_md5mesh"
	    shadermesh "m_robot_mesh"
		layer0 "a_run" "s_scene5_1.runtime" 1
		//layer1 "a_fall" "globaltimer.localtime" "s_scene5_1.fallblend"
		scale 0.1
		rotation (0 -0.25 0)
		transform "s_scene5_1.gubbe"
	}
	
	picture {
		prio 300
		start (0 0)
		size (640 480)
		color white
		alphacontrol "s_scene5_1.whiteout"
	}
}

